<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 也可以在html的meta里设置内容安全策略 -->
    <!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' https://cdn.bootcdn.net; form-action 'self';"> -->
    <title>Document</title>
  </head>
  <body>
    <div>This is content</div>
    <form action="http://baidu.com">
      <!-- 表单提交到百度，并跳转 -->
      <button type="submit">click me</button>
    </form>
    <script>
      console.log("inline js");
      fetch("http://www.baidu.com");
    </script>
    <script src="/test.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
  </body>
</html>
